
#ifndef __LED_H__
#define __LED_H__



#include <stm32f10x.h>
#include <stm32f10x_rcc.h>
#include <stm32f10x_gpio.h>


#define LED_RED GPIO_Pin_13
#define LED_GREEN GPIO_Pin_9
#define LED_BLUE  GPIO_Pin_15

#define LED_ALL 0

#define ON  Bit_RESET
#define OFF Bit_SET




// BitAction ON = Bit_RESET;
// BitAction OFF = Bit_SET;


void led_init(void);
void led_ctl(uint16_t pin, BitAction cmd);




#endif 
